<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    /* img {
      float: left;
    } */

    div {
      width: 100px;
      height: 100px;
    }

    .one {
      background-color: green;
      float: left;
    }

    .two {
      background-color: red;
      float: left;
    }
  </style>
</head>

<body>
  <!-- 浏览器解析行内块 或 行内标签的时候，如果标签换行书写会产生一个空格的距离 -->
  <!-- 解决方式就是浮动处理，如本案例 -->

  <!-- 1.图文环绕 -->
  <!-- <img src="./5ae43ab276adb_610.jpg" alt="">
  aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa -->


  <!-- 2.网页布局：块 -->

  <div class="one">one</div>
  <div class="two">two</div>
</body>

</html>